<?php

/**
 * .<p/>
 * @catepory 【核心】
 * @author zhouhaichao(a)2008.sina.com
 * @version 1.0
 * @date: 2015/11/18
 * @time: 21:00
 */

class PHPViewRenderer extends ViewRenderer
{
    public function display()
    {
        extract(array(
            "req" => $this->request,
            "conf" => Config::getInstance(),
            "param" => $this->request->params
        ));
        extract($this->request->attrs);
        include_once($this->viewPath($this->view));
    }
}